//
//  TTFileManager.h
//  WxIOSReaderForiPhone
//
//  Created by anzeinfo on 13-5-22.
//  Copyright (c) 2013年 anzeinfo. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@interface TTFileManager : NSObject
+(TTFileManager *)sharedManager;

- (BOOL)archiveFile:(id)objects named:(NSString *)filePath;
- (id)unarchiveFile:(NSString *)filePath;
- (BOOL)deleteFile:(NSString *)path;
- (BOOL)fileExists:(NSString *)path;

- (NSString *)pathMaker:(NSString *)path fileType:(NSString *)type;
- (NSString *)filePathMaker:(NSString *)name fileType:(NSString *)type;
//设置文件不在 iCloud 备份
- (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL;
@end
NS_ASSUME_NONNULL_END
